package cn.bocweb.spinning.model.Bean;

import java.util.List;

/**
 * Created by chenchangxing on 16/6/6.
 */
public class ForumDetailBean {

    /**
     * msg : 获取成功
     * return_code : 0
     * data : {"title":"我发帖是有目的的","content":"我发帖是有目的的我发帖是有目的的我发帖是有目的的我发帖是有目的的我发帖是有目的的我发帖是有目的的我发帖是有目的的","photo":[],"timeline":"1464847670","flag":"0","userid":"1","nickname":"Bravo","hot":"0","isup":"0","iscollect":"0","num":"6"}
     * comment : [{"id":"82","content":"突突突突突突吞吞吐吐","sender":"2","receiver":"","timeline":"1465908895","uthumb":"http://121.41.128.239:8131/fzapp/upload/uthumb/425dcf2435aa9ca632f57ec61d9a13c6.jpg","nickname":"铲铲行","receiverId":""},{"id":"78","content":"热热热柔柔弱弱","sender":"2","receiver":"","timeline":"1465782014","uthumb":"http://121.41.128.239:8131/fzapp/upload/uthumb/425dcf2435aa9ca632f57ec61d9a13c6.jpg","nickname":"铲铲行","receiverId":""},{"id":"77","content":"热热热呃呃呃","sender":"2","receiver":"","timeline":"1465781461","uthumb":"http://121.41.128.239:8131/fzapp/upload/uthumb/425dcf2435aa9ca632f57ec61d9a13c6.jpg","nickname":"铲铲行","receiverId":""},{"id":"76","content":"111111","sender":"2","receiver":"","timeline":"1465723572","uthumb":"http://121.41.128.239:8131/fzapp/upload/uthumb/425dcf2435aa9ca632f57ec61d9a13c6.jpg","nickname":"铲铲行","receiverId":""},{"id":"74","content":"vbnvb","sender":"3","receiver":"","timeline":"1465695230","uthumb":"http://121.41.128.239:8131/fzapp/upload/uthumb/5773f20276d02f39b54a6a67ef09047f.jpg","nickname":"lemon","receiverId":""}]
     */

    private String msg;
    private int return_code;
    /**
     * title : 我发帖是有目的的
     * content : 我发帖是有目的的我发帖是有目的的我发帖是有目的的我发帖是有目的的我发帖是有目的的我发帖是有目的的我发帖是有目的的
     * photo : []
     * timeline : 1464847670
     * flag : 0
     * userid : 1
     * nickname : Bravo
     * hot : 0
     * isup : 0
     * iscollect : 0
     * num : 6
     */

    private DataBean data;
    /**
     * id : 82
     * content : 突突突突突突吞吞吐吐
     * sender : 2
     * receiver :
     * timeline : 1465908895
     * uthumb : http://121.41.128.239:8131/fzapp/upload/uthumb/425dcf2435aa9ca632f57ec61d9a13c6.jpg
     * nickname : 铲铲行
     * receiverId :
     */

    private List<CommentBean> comment;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getReturn_code() {
        return return_code;
    }

    public void setReturn_code(int return_code) {
        this.return_code = return_code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public List<CommentBean> getComment() {
        return comment;
    }

    public void setComment(List<CommentBean> comment) {
        this.comment = comment;
    }

    public static class DataBean {
        private String title;
        private String content;
        private String timeline;
        private String flag;
        private String upnum;
        private String userid;
        private String nickname;
        private String hot;
        private String isup;
        private String iscollect;
        private String num;
        private List<String> photo;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getTimeline() {
            return timeline;
        }

        public void setTimeline(String timeline) {
            this.timeline = timeline;
        }

        public String getFlag() {
            return flag;
        }

        public void setFlag(String flag) {
            this.flag = flag;
        }

        public String getUserid() {
            return userid;
        }

        public void setUserid(String userid) {
            this.userid = userid;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getHot() {
            return hot;
        }

        public void setHot(String hot) {
            this.hot = hot;
        }

        public String getIsup() {
            return isup;
        }

        public void setIsup(String isup) {
            this.isup = isup;
        }

        public String getIscollect() {
            return iscollect;
        }

        public void setIscollect(String iscollect) {
            this.iscollect = iscollect;
        }

        public String getNum() {
            return num;
        }

        public void setNum(String num) {
            this.num = num;
        }

        public List<String> getPhoto() {
            return photo;
        }

        public void setPhoto(List<String> photo) {
            this.photo = photo;
        }

        public String getUpnum() {
            return upnum;
        }

        public void setUpnum(String upnum) {
            this.upnum = upnum;
        }
    }

    public static class CommentBean {
        private String id;
        private String content;
        private String sender;
        private String receiver;
        private String timeline;
        private String uthumb;
        private String nickname;
        private String receiverId;
        private String location;
        private List<String> photo;

        public String getLocation() {
            return location;
        }

        public void setLocation(String location) {
            this.location = location;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getSender() {
            return sender;
        }

        public void setSender(String sender) {
            this.sender = sender;
        }

        public String getReceiver() {
            return receiver;
        }

        public void setReceiver(String receiver) {
            this.receiver = receiver;
        }

        public String getTimeline() {
            return timeline;
        }

        public void setTimeline(String timeline) {
            this.timeline = timeline;
        }

        public String getUthumb() {
            return uthumb;
        }

        public void setUthumb(String uthumb) {
            this.uthumb = uthumb;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getReceiverId() {
            return receiverId;
        }

        public void setReceiverId(String receiverId) {
            this.receiverId = receiverId;
        }


        public List<String> getPhoto() {
            return photo;
        }

        public void setPhoto(List<String> photo) {
            this.photo = photo;
        }
    }
}
